//
// Created by Administrator on 2020/7/20 0020.
//
#ifndef FAMILY_SHUAISHUAI_H
#define FAMILY_SHUAISHUAI_H
#include "string"
using namespace std;
class ShuaiShuai//继承吃午饭和吃晚饭的动作
{
private:
    string playPhoneTime;
    string  doHomeworkTime;
    double happinessValue;
    double angerValue;



public:
    void playPhone(string playPhoneTime);//玩手机
    void doHomework(string playPhoneTime);//做作业
    void beHit();//被打
    void beScold();//被骂


public:
    const string &getPlayPhoneTime() const;

    void setPlayPhoneTime(const string &playPhoneTime);

    const string &getDoHomeworkTime() const;

    void setDoHomeworkTime(const string &doHomeworkTime);

    double getHappinessValue() const;

    void setHappinessValue(double happinessValue);

    double getAngerValue() const;

    void setAngerValue(double angerValue);


};


#endif //FAMILY_SHUAISHUAI_H
